home *** CD-ROM | disk | FTP | other *** search
- PNGTool
- © 2002 by Stephan Rupprecht
- All rights reserved.
-
-
- COPYRIGHT AND DISCLAIMER
- PNGTool is copyrighted 2002 by Stephan Rupprecht. All rights
- reserved. This program is freeware, so no financial donations
- required. Redistribution allowed if the package is left unchanged.
- The author is not responsible for any damage caused by the use
- or misuse of this documentation and/or the program(s) it describes.
-
- PNG support provided by the libpng link library by the PNG Development
- Group, and the zlib link libary by Jean-loup Gailly and Mark Adler.
-
-
- REQUIREMENTS
- - Any Amiga® (compatible) computer with at least OS3 and '020+ cpu.
- - picture.datatype v43 or better.
- - asyncio.library v39.
- - A PPC version for computers with WarpUP is also included (requires
- asyncio.library v40).
-
-
- DESCRIPTION
- PNGTool is a simple program that can convert any image that is
- recognized by datatypes to PNG.
-
-
- INSTALLATION
- Simply copy PNGTool to where-ever-you-want :)
-
-
- USAGE
- You can start PNGTool only from shell, since it's a DOS command
- (except for the possibility to start it from Workbench through
- the menu item 'Execute Command...'). The following options are
- provided:
-
- FROM/M/A,TO/A,ALL/S,C=COMPRESSIONLEVEL/N/K,I=INTERLACED/S,S=SCALE/N/K,
- T=TRANSPARENT/N/K
-
- FROM/M/A: specifies the image(s) to convert, patterns will be accepted.
-
- TO/A: name of the new image(s) including the destination path. The specified
- filename is not necessarily just a simple identifier representing exactly
- one disk object. Instead, it is a template which may contain variables/
- placeholders which will be replaced by their actual values. Placeholders
- recognized are:
-
- %n name of the source file without suffix. You can shorten the
- filename by providing the maximum number of characters allowed
- between % and n (eg. %5n).
- %nu Each time an image is converted an internal counter will be
- increased. %nu holds the current value of this counter.
- %w width of the image.
- %h its height.
- %d and the depth
- %sz shortcut for %wx%hx%d.
-
- NOTE: Source and destination MUST NOT be the same file !
-
- ALL/S: convert subdirectories, too. A new directory in the destination
- drawer _won't_ be created!
-
- C=COMPRESSIONLEVEL/N/K: 0 means no compression, 1 a very little and
- 9 best compression at expense of speed (default is 5).
-
- I=INTERLACED/S: create an interlaced image.
-
- S=SCALE/N/K: this option allows you to scale the image down by the
- given denominator. Eg. a value of 2 creates an image that is half
- the size of the original one. This option requires picture.datatype
- v45!
-
- T=TRANSPARENT/N/K: sets the transparent color for the image (if
- palette mapped). A value of -1 disables transparency.
-
-
- HISTORY
- 1.0 first public release
- 1.1 requires asyncio.library v40, now. This increases the speed
- of both versions by 3% :) It also lessens the 68k load when
- using the ppc version even though the ppc load has increased.
- The ppc version now uses a more recent release of libpng
- and zlib making the executable ~30kb smaller. added SCALE/N/K
- option (requires pictdt v45) and TRANSPARENT/N/K.
-
-
- FUTURE
- bugfixes ;)
- your suggestions
-
-
- AUTHOR
- Please send bug reports and ideas to
-
- Stephan Rupprecht
- Apfeldweg 1
- D44359 Dortmund
- Germany
-
- Send emails to
-
- info@stephan-rupprecht.de
-
- WWW
- http://stephan-rupprecht.de
-